package com.fund.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fund.client.pojo.dto.ClientPageDTO;
import com.fund.client.pojo.dto.Questionnaire;
import com.fund.client.pojo.entity.Client;
import com.fund.client.pojo.vo.ClientVO;
import com.fund.common.pojo.PageResult;
import com.fund.common.pojo.Result;

import java.util.List;

public interface ClientService extends IService<Client> {
    Result<Boolean> openAccount(Client client);

    Result<PageResult<ClientVO>> getPage(ClientPageDTO clientPageDTO);

    Result<Boolean> fillQuestionnaire(Questionnaire questionnaire);

    Result<List<ClientVO>> findByCode(String clientQuery);

    Result<ClientVO> findById(Long id);
}
